<%@ tag language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ tag import="java.util.Date"%>
<%@ tag import="java.text.*"%>
<%
	DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
	String formattedDate = df.format(new Date());
%>
<div class="customBox">
	<h2>
		<spring:message code="label.header.medicine.card" />
	</h2>
	<div class="block">
		<table>
			<tr height="40px" align="right">
				<td class="boldText"><spring:message code="label.creation.date" /></td>
				<td><input type="text" readonly="true" name="medicineCardCreationDate"
					value="<%=formattedDate%>" 
					style="width: 150px; margin-left: 10px;"/>
				</td>
			</tr>
			<tr align="left">
				<td colspan="2" class="boldText">
					<spring:message code="label.additional.info" />
				</td>
			</tr>
			<tr align="left">
				<td colspan="2" class="boldText">
					<textarea rows="13" style="width: 98%; resize:none" name="otherInfo"></textarea>
				</td>
			</tr>
		</table>
	</div>
</div>

